package ua.com.shootgameserver;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;

import ua.com.shootgameserver.configuration.CoreConfig;
import ua.com.shootgameserver.server.GameServer;

public class Main {

	public static void main(String[] args) {
		ApplicationContext ctx = new AnnotationConfigApplicationContext(CoreConfig.class);
		GameServer gameServer = ctx.getBean(GameServer.class);
		gameServer.start();
		//SomeBean someBean = ctx.getBean(SomeBean.class);
		//System.out.println(someBean.showSomeThing());
	}
}